// 操作日志模块相关的TypeScript类型定义

/**
 * 操作日志列表项
 */
export interface OperationLogListItem {
  id: number
  userId: number
  username: string
  ip: string
  method: string
  path: string
  action: string
  resource: string
  status: number
  createdAt: string
}

/**
 * 操作日志详情
 */
export interface OperationLogDetail {
  id: number
  userId: number
  username: string
  ip: string
  userAgent: string
  method: string
  path: string
  action: string
  resource: string
  status: number
  details: string
  createdAt: string
}

/**
 * 操作日志列表请求参数
 */
export interface OperationLogListRequest {
  page: number
  pageSize: number
  username?: string
  action?: string
  resource?: string
  ip?: string
  startDate?: string
  endDate?: string
}

/**
 * 批量删除操作日志请求参数
 */
export interface BatchDeleteOperationLogsRequest {
  ids: number[]
}
